package com.bby.user.service;

import com.bby.common.exception.BBYException;
import com.bby.common.model.PmMessage;
import com.bby.common.model.PmMessageDeal;

import java.util.List;

public interface MessageService {

    void addPmMessage(String userId, PmMessage message) throws BBYException;
    void deletePmMessage(String userId, String messageId) throws BBYException;

    List<PmMessage> listPmMessage(String userId, String action, boolean all) throws BBYException;
    void dealPmMessage(String userId, PmMessageDeal deal) throws BBYException;
}
